<%= devise_error_messages! %>

<%= form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => { :method => :put } do |f| %>
	<h2>Set your password</h2>
	
	<%= f.hidden_field :invitation_token %>
	
	<div class="field w30">
		<%= f.label :password %>
		<%= f.password_field :password %>
	</div>
	
	<div class="field w30">
		<%= f.label :password_confirmation %>
		<%= f.password_field :password_confirmation %>
	</div>
	
	<div class="actions">
		<button type="submit" class="white">Set my password</button>
	</div>
<% end %>
